<script>
	// import { login } from '@/utils/request.js';
	import {
		initEid
	} from './mp_ecard_sdk/main';
	import {
		mapMutations
	} from "vuex";
	import store, {
		SET_SHOW_AD
	} from "@/store/index.js";
	export default {
		onLaunch: function() {
			console.log('App Launch')
			uni.hideTabBar()
			this.SET_SHOW_AD(true)
      // let guideSTDPath = this.$store.state.guideSTDPath || [];
      // uni.getImageInfo({
      // 	src: 'https://ltjtjingquguanli.com/statics/std/static/zmap-V2.0.png', // 网络图片的URL
      // 	success: (res) => {
      // 		guideSTDPath.push(res.path);
      // 		this.$store.commit("set_guideSTDPath", guideSTDPath);
      //     console.log('guideSTDPath====zmap-V2.0.png======00000', guideSTDPath);
      // 	},
      // 	fail: (err) => {
      // 		console.log('获取图片信息失败', err);
      // 	},
      //   complete: (err) => {
      // 		uni.getImageInfo({
      // 			src: 'https://ltjtjingquguanli.com/statics/std/static/zmap-2.5Dv3.0.png', // 网络图片的URL
      // 			success: (res) => {
      				
      // 		    guideSTDPath.push(res.path);
      // 				this.$store.commit("set_guideSTDPath", guideSTDPath);
      //         console.log('guideSTDPath====zmap-2.5Dv3.0.png======111111', guideSTDPath);
      // 			},
      // 			fail: (err) => {
      // 				console.log('获取图片信息失败', err);
      // 			}
      // 		});
      // 	}
      // });
			// 初始化慧眼实名核身组件
			// const Verify = require('./faceid-interactive-video-mpsdk/main');
			// Verify.init();
			//    console.log('1111111111',Verify)
			//E证通 SDK
			initEid();
		},
		onShow: function() {
			// console.log('App Show')
			// login()
		},
		onHide: function() {
			// console.log('App Hide')
		},
		methods: {
			...mapMutations([SET_SHOW_AD]),
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	body {
		/* height: 100%; */
	}

	@font-face {
		font-family: 'D-DIN-Bold';
		src: url('~@/static/fonts/D-DIN-Bold.woff') format('truetype');
	}

	@font-face {
		font-family: 'iconfont';
		src: url('~@/static/fonts/iconfont.ttf') format('truetype');
	}

	.noData {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		min-height: 500rpx;

		image {
			height: 240rpx;
			width: 240rpx;
			flex: 0 0 auto;
		}

		text {
			font-size: 24rpx;
			font-weight: 400;
			color: rgba(0, 0, 0, 0.3);
			line-height: 34rpx;
		}
	}
  .richText{
    white-space: pre-wrap;
    tab-size: 4;
    .img{
      max-width: 100% !important;
      vertical-align: middle !important;
      height: auto!important !important;
    }
  }
  .ql-indent-1 {
    padding-left: 0px !important;
    text-indent: 1em !important;
  }
  
  .ql-indent-2 {
    padding-left: 0px !important;
    text-indent: 2em !important;
  }
  
  .ql-indent-3 {
    padding-left: 0px !important;
    text-indent: 3em !important;
  }
  
  .ql-indent-4 {
    padding-left: 0px !important;
    text-indent: 4em !important;
  }
  
  .ql-indent-5 {
    padding-left: 0px !important;
    text-indent: 5em !important;
  }
  
  .ql-indent-6 {
    padding-left: 0px !important;
    text-indent: 6em !important;
  }
  
  .ql-indent-7 {
    padding-left: 0px !important;
    text-indent: 7em !important;
  }
  
  .ql-indent-8 {
    padding-left: 0px !important;
    text-indent: 8em !important;
  }
</style>